<style tyle="text/css">
    .modal-lg {
        width: 60%;
    }
    ul li{
        margin-top: 10px;
    }
</style>
<div class="modal-header">
    <h4 class="modal-title">推送消息</h4>
</div>
<div class="modal-body">

    <form name="form" class="form-horizontal form-validation ng-pristine ng-valid ng-valid-required">
        <div ng-if="bean.state == 0" >
            <div class="form-group">
            <h4 class="col-sm-4 control-label">标题：</h4>
            <h4 class="col-sm-4"><input type="text" class="form-control col-sm-4" placeholder="data1" ng-model="bean.data1"></h4>
            </div>
            <div class="form-group">
                <h4 class="col-sm-4 control-label">警告名称：</h4>
                <h4 class="col-sm-4"><input type="text" class="form-control col-sm-4" placeholder="data2" ng-model="bean.data2"></h4>
            </div>
            <div class="form-group">
                <h4 class="col-sm-4 control-label">时间：</h4>
                <h4 class="col-sm-4"><input type="text" class="form-control col-sm-4" placeholder="data3" ng-model="bean.data3"></h4>
            </div>
            <div class="form-group">
                <h4 class="col-sm-4 control-label">详细内容：</h4>
                <h4 class="col-sm-4"><input type="text" class="form-control col-sm-4" placeholder="data4" ng-model="bean.data4"></h4>
            </div>
        </div>
        <div class="form-group">
                <h4 class="col-sm-4 control-label">预览：</h4>
                <h4 class="col-sm-4">
                    <ul style="list-style: none">
                        <li>{{bean.data1}}&nbsp;</li>
                        <li>警告名称：{{bean.data2}}</li>
                        <li>时间：{{bean.data3}}</li>
                        <li>{{bean.data4}}&nbsp;</li>
                    </ul>
                </h4>
        </div>

       
    </form>

</div>

<div class="modal-footer">
    <button class="btn btn-success" ng-if="bean.state == 0" type="button" ng-click="ok()">确定</button>
    <button class="btn btn-danger" type="button" ng-click="close()">关闭</button>
</div>